package com.example.sfm.service;

import com.example.sfm.pojo.dto.TeachersDto;
import com.example.sfm.pojo.dto.TeachersQueryDto;
import com.example.sfm.pojo.entity.Teachers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sfm.result.PageResult;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sfm
 * @since 2025-03-07
 */
public interface ITeachersService extends IService<Teachers> {

    void createTeacher(TeachersDto dto);

    PageResult<?> listTeachers(TeachersQueryDto dto);

    void updateTeacher(Integer id, TeachersDto dto);

    void deleteTeachers(List<Integer> ids);

    void importTeachers(MultipartFile file);

    void exportTeachers(HttpServletResponse response, TeachersQueryDto dto);
}
